export default {
  data () {
    return {
      paginator: {
        recordCount: 50,
        pageSize: 10,
        pageIndex: 1
      }
    }
  },
  methods: {
    handleCurChange (page) {
      this.paginator.pageIndex = page
      this.getData()
    },
    handleSizeChange (size) {
      this.paginator.pageSize = size
      this.paginator.pageIndex = 1
      this.getData()
    }
  }
}
